<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="@{include} :: header"></head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-row">
            <form class="layui-form layui-form-pane" id="signupForm">
                <input id="id" name="id" th:value="${pianqu.id}" type="hidden">
                <div class="layui-form-item">
                    <label class="layui-form-label">所属集团：</label>
                    <div class="layui-input-block">
                        <select data-placeholder="--请选择--" name="jituanId" id="jituanId" class="layui-input">
                            <option th:each="group:${groups}" th:value="${group.id}" th:selected="${group.id eq pianqu.jituanId}" th:text="${group.groupName}"></option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">片区名称：</label>
                    <div class="layui-input-block">
                        <input id="pianquName" name="pianquName" th:value="${pianqu.pianquName}" class="layui-input" type="text">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div style="text-align: center;margin-top: 20px">
                        <button onclick="update()" class="layui-btn layui-btn-normal" >提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" th:src="@{/js/appjs/module/pianqu/detail.js}"></script>
</body>
</html>
